4ec62706819e9ea206c9a651fa2203728ee2b1e8,src/soot/toDex/ExprVisitor.java,ExprVisitor,caseXorExpr,#XorExpr#,374
Before Change
Register sourceReg = regAlloc.asImmediate(firstOperand, constantV);
stmtV.addInsn(new Insn12x(Opcode.NOT_LONG, destinationReg, sourceReg), origStmt);
} else {
stmtV.addInsn(buildCalculatingBinaryInsn("XOR", firstOperand, secondOperand), origStmt);
}
}
After Change
Register sourceReg = regAlloc.asImmediate(firstOperand, constantV);
stmtV.addInsn(new Insn12x(Opcode.NOT_LONG, destinationReg, sourceReg), origStmt);
} else {
buildCalculatingBinaryInsn("XOR", firstOperand, secondOperand, xe);
}
}